package com.maiji.cloud.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.maiji.cloud.entities.login.Label;

import com.maiji.cloud.response.login.LabelResData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LabelMapper extends BaseMapper<Label> {

    List<LabelResData> findAllLabelBySource (@Param("source") String source, @Param("listShow") Integer listShow);

    /**
     * 根据标签id集合获取标签集合
     * @param list
     * @return
     */
	List<Label> getLabelsByIds(@Param("ids")List<String> ids);

}
